<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	template="/layout/template.xhtml">

	<ui:define name="pageLayout">
	
	#{messages['mainPage.title']}
	<a4j:form>
	 	<rich:tabPanel>
	        <rich:tab label="mainPage.stat.artists">
				<h:dataTable 
					id="listTopArtists"
					var="item"
					value="#{mainAction.listTopArtists}"
					rowClasses="odd,even">
						<h:column>
							<f:facet name="header">
								<h:outputText value="#{messages['main.top.artists']}" />
							</f:facet>
							<h:outputText value="#{item.artist}" />
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="#{messages['main.top.kol']}" />
							</f:facet>
							<h:outputText value="#{item.kol}" />
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="#{messages['main.top.select']}" />
							</f:facet>
							<h:selectBooleanCheckbox value="#{item.select}" />
						</h:column>
				</h:dataTable>
	        </rich:tab>
	        <rich:tab label="mainPage.stat.playlists">
	            ...
	        </rich:tab>
	        <rich:tab label="mainPage.stat.contents">
	            ...
	        </rich:tab>
	    </rich:tabPanel>
    </a4j:form>

	</ui:define>

</ui:composition>